package maze.net.client;

import maze.net.MessageType;
import maze.net.SGMPEvent;
import maze.pojo.Action;

public class SGMPActionEvent extends SGMPEvent {
	
	public static final String SAction = MessageType.S_Action.name();
	public static final String SWin = MessageType.S_Win.name();
	public static final String SLose = MessageType.S_Lose.name();
	public static final String SDraw = MessageType.S_Draw.name();

	private Action selfAction;
	private Action enemyAction;

	public SGMPActionEvent(MessageType messageType, Action self, Action enemy) {
		super(messageType);
		selfAction = self;
		enemyAction = enemy;
	}

	public final Action getSelfAction() {
		return selfAction;
	}

	public final Action getEnemyAction() {
		return enemyAction;
	}

}
